package com.qk.code;

/**
 * @Author:zhengbowen
 * @Date: 2025/10/10 16:02
 * @Description:
 */
public enum ParamEnum implements Code{
        PARAM_ERROR("参数错误", 1001),
    ;
    ParamEnum(String msg, Integer code) {
        this.msg = msg;
        this.code = code;
    }

    private final String msg;
    private final Integer code;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
